package workflow.api;

import workflow.model.WfWorkFlowRelation;
import workflow.vo.WorkFlowVo;

import java.util.List;
import java.util.Map;

/**
 * Created by oracle on 2017-03-16.
 */
public interface WorkFlowService {
    Boolean startWorkFlow(WorkFlowVo workFlowVo) throws Exception;

    Boolean startWorkFlow(WorkFlowVo workFlowVo, WfWorkFlowRelation workFlowRelation) throws Exception;

    Boolean handleWorkFlow(WorkFlowVo workFlowVo) throws Exception;

    List<WorkFlowVo> queryHistory(String proposerId);
}
